// Panel Threshold Fixed Effect Estimation of Model 1

xthreg grw lnrgdp lnfert lnle gov open inf mys, rx( tur gfcf ) qx( epi ) thnum(1) grid(400) trim(0.01) bs(10000) nobslog vce(robust)


// Panel Threshold Fixed Effect Estimation of Model 2

 xthreg grw lnrgdp lnfert lnle gov open inf mys if opec==0&sids==0, rx( tur gfcf ) qx( epi ) thnum(1) grid(400) trim(0.01) bs(10000) nobslog vce(robust)
